$(function() {
	
	$('.pic').bind("dblclick",function(){
		var itemId = $(this).attr("itemId");
		window.parent.returnValue = "<img src='" + contextPath + "/img/findWaterItem.action?item.id=" + itemId + "' />";
		window.parent.close();
	});
	
});